﻿using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Unis.FMS.Platform.Dispatch.Domain.Contracts
{
    public abstract class FullAuditedObject : Entity, IFullAuditedObject
    {
        public DateTime? CreatedTime { get; set; }

        public long? CreatedBy { get; set; }

        public long? UpdateBy { get; set; }

        public DateTime? UpdateTime { get; set; }

        public bool IsDel { get; set; }

        public string CreateUser { get; set; }

        public string UpdateUser { get; set; }

        /// <include file='../docs/comments.xml' path='doc/members/member[@name="ActualUpdateTime"]/*'/>
        public DateTime ActualUpdateTime { get; set; } = new DateTime(1970, 1, 1);

        /// <include file='../docs/comments.xml' path='doc/members/member[@name="ActualCreateTime"]/*'/>
        public DateTime ActualCreateTime { get; set; } = new DateTime(1970, 1, 1);
    }
}
